package com.mybatis.vo;

import com.mybatis.po.Student;
import lombok.*;

import java.util.Iterator;
import java.util.List;

/**
 * ClassName: StudentQueryVO
 * Package: com.mybatis.vo
 * Description:
 *
 * @Author 刘英杰
 * @Create 2024/11/9 20:54
 * @Version 1.0
 */

public class StudentQueryVO {
    /*封装页面传过来学生相关的参数*/
    private Student student;
    /*封装多个学号*/
    private List<Integer> snos;

    public StudentQueryVO() {
    }

    public StudentQueryVO(Student student) {
        this.student = student;
    }

    public StudentQueryVO(List<Integer> snos) {
        this.snos = snos;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public List<Integer> getSnos() {
        return snos;
    }

    public void setSnos(List<Integer> snos) {
        this.snos = snos;
    }
}
